module RedisAware
  extend ActiveSupport::Concern

  included do
    after_initialize do
      @redis_main = redis
      @redis_monitor = redis
    end

    def redis
      Redis.new(REDIS_CONF)
    end
  end
end